package com.sevencar.db;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;

public class DBHelper  extends SQLiteOpenHelper {

	public static final String DATABASE_NAME = "sevencarc.db";
	private static final int DATABASE_VERSION = 3;
//	private Context context;
	private String tag = "DBHelper";

	public DBHelper(Context context) {
		super(context, DATABASE_NAME, null, DATABASE_VERSION);
//		this.context = context;
	}
	
	@Override
	public void onOpen(SQLiteDatabase db) {
		super.onOpen(db);
		
	}
	

	@Override
	public void onCreate(SQLiteDatabase db) {
		Log.i(tag, "onCreate");
	}

	@Override
	public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
		Log.i(tag, "onUpgrade");
	}
}